<as-split direction="vertical" unit="pixel" [disabled]="true" gutterSize="0">
  <as-split-area size="35" class="button-area">
    <button nz-button (click)="create()" [acl]="['ROLE_ADMIN']">
      <i nz-icon nzType="plus" nzTheme="outline"></i>添加教务员
    </button>
    <button nz-button (click)="reflesh()"><i nz-icon nzType="reload" nzTheme="outline"></i>刷新</button>
  </as-split-area>
  <as-split-area class="border-1 form-area" size="65">
    <div nz-row class="text-right matech-toolbar">
      <div nz-col nzSpan="15">
        <form nz-form>
          <div nz-row nzType="flex" nzJustify="end">
            <nz-form-label nz-col nzSpan="2" class="text-right">用户名</nz-form-label>
            <nz-form-control nz-col nzSpan="4" class="text-right">
              <input nz-input placeholder="输入用户名" maxlength="100" name="username" [(ngModel)]="queryParams.username" />
            </nz-form-control>
            <nz-form-label nz-col nzSpan="2" class="text-right">所属身份</nz-form-label>
            <nz-form-control nz-col nzSpan="4" class="text-right">
              <nz-select [(ngModel)]="queryParams.role" nzAllowClear nzPlaceHolder="选择所属身份" name="role">
                <nz-option nzValue="ROLE_STUDENT" nzLabel="学生"></nz-option>
                <nz-option nzValue="ROLE_INSTRUCTOR" nzLabel="辅导员"></nz-option>
                <nz-option nzValue="ROLE_TEACHER" nzLabel="教师"></nz-option>
                <nz-option nzValue="ROLE_SENATOR" nzLabel="教务员"></nz-option>
                <nz-option nzValue="ROLE_ADMIN" nzLabel="系统管理员"></nz-option>
                <nz-option nzValue="ROLE_CLASS_EVALUATION_ADMIN" nzLabel="班级综测管理员"></nz-option>
                <nz-option nzValue="ROLE_SUPER_ADMIN" nzLabel="超级系统管理员"></nz-option>
              </nz-select>
            </nz-form-control>
          </div>
        </form>
      </div>
      <div nz-col nzSpan="9" class="text-center form-area-btn">
        <div nz-row class="first-btn">
          <button nz-button (click)="onSearch()" [nzType]="'primary'"><i nz-icon nzType="search"></i>查找</button>
          <button nz-button (click)="onResetForm()"><em nz-icon nzType="redo" nzTheme="outline"></em>重置</button>
        </div>
      </div>
    </div>
  </as-split-area>
  <as-split-area [size]="'*'">
    <app-user-list #userListComponent [queryParams]="queryParams"></app-user-list>
  </as-split-area>
</as-split>
